package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/***
 * 制造部历史BOM关系
 * @author chuck
 * 2018-03-07
 */
@Entity
@Table(name="sl_crm_mfoldpartrelation")
public class MFOldPartRelation {
	@Id
	private String id;
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;
	@Temporal(TemporalType.TIMESTAMP)
	private Date updateTime;
	
	private Integer nPartId;
	
	private String cPartPicNum;
	
	private String cPartName;
	
	private String cMaterial;
	
	private Integer nUpPartId;
	
	private String cUpPartPicNum;
	
	private int nCount;
	
	private int nBackCount;
	
	private String cMemo;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getnPartId() {
		return nPartId;
	}

	public void setnPartId(Integer nPartId) {
		this.nPartId = nPartId;
	}

	public String getcPartPicNum() {
		return cPartPicNum;
	}

	public void setcPartPicNum(String cPartPicNum) {
		this.cPartPicNum = cPartPicNum;
	}

	public String getcPartName() {
		return cPartName;
	}

	public void setcPartName(String cPartName) {
		this.cPartName = cPartName;
	}

	public String getcMaterial() {
		return cMaterial;
	}

	public void setcMaterial(String cMaterial) {
		this.cMaterial = cMaterial;
	}

	public Integer getnUpPartId() {
		return nUpPartId;
	}

	public void setnUpPartId(Integer nUpPartId) {
		this.nUpPartId = nUpPartId;
	}

	public String getcUpPartPicNum() {
		return cUpPartPicNum;
	}

	public void setcUpPartPicNum(String cUpPartPicNum) {
		this.cUpPartPicNum = cUpPartPicNum;
	}

	public int getnCount() {
		return nCount;
	}

	public void setnCount(int nCount) {
		this.nCount = nCount;
	}

	public int getnBackCount() {
		return nBackCount;
	}

	public void setnBackCount(int nBackCount) {
		this.nBackCount = nBackCount;
	}

	public String getcMemo() {
		return cMemo;
	}

	public void setcMemo(String cMemo) {
		this.cMemo = cMemo;
	}
	
}
